<?php
/**
 * Created by PhpStorm.
 * User: hebidu
 * Date: 15/11/27
 * Time: 12:16
 */

namespace Home\Controller;


use Common\Util\EnvCheck;
use Think\Controller;

class HomeController extends Controller {


    public function _initialize()
    {
        header("X-AUTHOR:ITBOYE.COM");
    }

    public function boye_display(){
        $enc = new EnvCheck();
        if($enc->isMobileVisit()){
            $this->theme("mobile")->display();
        }else{
            $this->theme("mobile")->display();
        }

    }
}